package com.registration.service;

import com.github.pagehelper.PageInfo;
import com.registration.bean.RoleBean;

import java.util.List;

public interface RoleService {

    public List<RoleBean> getRoleList();


    public int insertRole(RoleBean roleBean);


    public int deleteRole(Integer role_id);

    public int updateRole(RoleBean roleBean);

    public PageInfo<RoleBean> getRoleList(Integer pageNum, Integer pageSize, RoleBean roleBean);
}
